﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Registry.aspx.cs" Inherits="User_Registry" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <asp:CreateUserWizard ID="CreateUserWizard1" runat="server" AutoGeneratePassword="True"
            OnCreatedUser="CreateUserWizard1_CreatedUser" BackColor="#EFF3FB" BorderColor="#B5C7DE" BorderStyle="Solid" BorderWidth="1px" Font-Names="Verdana" Font-Size="0.8em" Height="265px" Width="332px">
            <WizardSteps>
                <asp:CreateUserWizardStep runat="server" Title="Đăng k&#253; th&#224;nh vi&#234;n">
                    <ContentTemplate>
                        <table border="0" style="font-size: 100%; font-family: Verdana">
                            <tr>
                                <td align="center" colspan="2" style="font-weight: bold; color: white; background-color: #507cd1">
                                    Đăng ký thành viên</td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 180px">
                                    <asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">Email đăng nhập</asp:Label></td>
                                <td style="width: 219px">
                                    <asp:TextBox ID="UserName" runat="server" AutoCompleteType="Email"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="EmailSignIn" runat="server" ErrorMessage="Email không được bỏ trống"
                                        SetFocusOnError="True" ToolTip="Email không được bỏ trống " ValidationGroup="CreateUserWizard1"></asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 180px">
                                    <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">Password</asp:Label></td>
                                <td style="width: 219px">
                                    <asp:TextBox ID="Password" runat="server" TextMode="Password" ToolTip="Password không được bỏ trống"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ErrorMessage="E-mail is required."
                                        ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 180px">
                                    <asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question" ToolTip="Nhắc lại mật khẩu không được bỏ trống">Nhắc lại mật khẩu</asp:Label></td>
                                <td style="width: 219px">
                                    <asp:TextBox ID="ConfirmPassword" runat="server" CausesValidation="True" TextMode="Password"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question"
                                        ErrorMessage="Security question is required." ToolTip="Security question is required."
                                        ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="right" style="width: 180px">
                                    <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security Answer:</asp:Label></td>
                                <td style="width: 219px">
                                    <asp:TextBox ID="Answer" runat="server"></asp:TextBox>
                                    <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer"
                                        ErrorMessage="Security answer is required." ToolTip="Security answer is required."
                                        ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>
                                </td>
                            </tr>
                            <tr>
                                <td align="center" colspan="2" style="color: red">
                                    <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal>
                                </td>
                            </tr>
                        </table>
                    </ContentTemplate>
                </asp:CreateUserWizardStep>
                <asp:CompleteWizardStep runat="server" Title="Đăng k&#253; th&#224;nh c&#244;ng">
                </asp:CompleteWizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
                <asp:WizardStep runat="server">
                </asp:WizardStep>
            </WizardSteps>
            <SideBarStyle BackColor="#507CD1" Font-Size="0.9em" VerticalAlign="Top" />
            <TitleTextStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
            <SideBarButtonStyle BackColor="#507CD1" Font-Names="Verdana" ForeColor="White" />
            <NavigationButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
            <HeaderStyle BackColor="#284E98" BorderColor="#EFF3FB" BorderStyle="Solid" BorderWidth="2px"
                Font-Bold="True" Font-Size="0.9em" ForeColor="White" HorizontalAlign="Center" />
            <CreateUserButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
            <ContinueButtonStyle BackColor="White" BorderColor="#507CD1" BorderStyle="Solid"
                BorderWidth="1px" Font-Names="Verdana" ForeColor="#284E98" />
            <StepStyle Font-Size="0.8em" />
        </asp:CreateUserWizard>
    
    </div>
    </form>
</body>
</html>
